package mdb;

import java.util.Vector;

public class MdbModel14 {
    private String m1 = "0.98";
    private String m2 = "0.97";
    private String m3 = "0.99";
    private String m4 = "0.95";
    private String m5 = "0.98";
    private String a1 = "0.95";
    private String a2 = "0.93";
    private String a3 = "0.94";
    private String a4 = "0.95";
    private String a5 = "0.96";
    private String a6 = "0.94";
    private String a7 = "0.93";
    private String a8 = "0.96";
    private String a9 = "0.97";
    private String minDiaSet = "{m1},\n{a1},\n{a5},\n{a8},\n{m2,m3},\n{m2,m4},\n{m2,a2},\n{m2,a3},\n{m2,a6},\n{m3,m4},\n{m3,a2},\n{m3,a3},\n{m3,a6},\n{m4,a2},\n{m4,a3},\n{m4,a6},\n{a2,a3},\n{a2,a6},\n{a3,a6},\n{m5,m2},\n{m5,m3},\n{m5,m4},\n{m5,a2},\n{m5,a3},\n{m5,a6},\n{a4,m2},\n{a4,m3},\n{a4,m4},\n{a4,a2},\n{a4,a3},\n{a4,a6},\n{a7,m2},\n{a7,m3},\n{a7,m4},\n{a7,a2},\n{a7,a3},\n{a7,a6},\n{a9,m2},\n{a9,m3},\n{a9,m4},\n{a9,a2},\n{a9,a3},\n{a9,a6}";
    private Vector tableData;

    public Vector getTableData() {
        if (tableData == null) {
            tableData = new Vector();
        }
        return tableData;
    }
    public void setTableData(Vector tableData) {
        this.tableData = tableData;
    }
    public String getMinDiaSet() {
        return minDiaSet;
    }
    public void setMinDiaSet(String minDiaSet) {
        this.minDiaSet = minDiaSet;
    }
    public String getM1() {
        return m1;
    }
    public void setM1(String m1) {
        this.m1 = m1;
    }
    public String getM2() {
        return m2;
    }
    public void setM2(String m2) {
        this.m2 = m2;
    }
    public String getM3() {
        return m3;
    }
    public void setM3(String m3) {
        this.m3 = m3;
    }
    public String getA1() {
        return a1;
    }
    public void setA1(String a1) {
        this.a1 = a1;
    }
    public String getA2() {
        return a2;
    }
    public void setA2(String a2) {
        this.a2 = a2;
    }
    public String getM4() {
        return m4;
    }
    public void setM4(String m4) {
        this.m4 = m4;
    }
    public String getM5() {
        return m5;
    }
    public void setM5(String m5) {
        this.m5 = m5;
    }
    public String getA3() {
        return a3;
    }
    public void setA3(String a3) {
        this.a3 = a3;
    }
    public String getA4() {
        return a4;
    }
    public void setA4(String a4) {
        this.a4 = a4;
    }
    public String getA5() {
        return a5;
    }
    public void setA5(String a5) {
        this.a5 = a5;
    }
    public String getA6() {
        return a6;
    }
    public void setA6(String a6) {
        this.a6 = a6;
    }
    public String getA7() {
        return a7;
    }
    public void setA7(String a7) {
        this.a7 = a7;
    }
    public String getA8() {
        return a8;
    }
    public void setA8(String a8) {
        this.a8 = a8;
    }
    public String getA9() {
        return a9;
    }
    public void setA9(String a9) {
        this.a9 = a9;
    }
    public String getProbabilityByIndex(int index) {
        switch (index) {
        case 0 : return getM1();
        case 1 : return getM2();
        case 2 : return getM3();
        case 3 : return getM4();
        case 4 : return getM5();
        case 5 : return getA1();
        case 6 : return getA2();
        case 7 : return getA3();
        case 8 : return getA4();
        case 9 : return getA5();
        case 10 : return getA6();
        case 11 : return getA7();
        case 12 : return getA8();
        case 13 : return getA9();
        }
        return "0";
    }
}
